import React from 'react'
import paraLogoUrl from 'app/images/para-logo-w-all.png'
import blscLogoUrl from 'app/images/logo-01.png'
import paraFaviconUrl from 'app/images/favicon_paratera.ico'
import blscFaviconUrl from 'app/images/favicon_blsc.ico'

export const PARA_APP_ID = "wxd017b24def9b56a4"
export const BLSC_APP_ID = "wxb6221269530c79af"
const distMode = import.meta.env.VITE_APP_DIST_MODE
const configs = {
  para: {
    LOGO: paraLogoUrl,
    RESET_PWD_URL: "https://user.paratera.com/reg/#/reset_pwd/user",
    SIGNUP_URL: "https://user.paratera.com/reg/#/regist/user",
    TITLE: "并行智算云",
    COPY_RIGHT:  "北京并行科技股份有限公司",
    COPY_RIGHT_TIME: "© 2007 - " + new Date().getFullYear(),
    ICP: <a href="https://beian.miit.gov.cn/" target='_blank'>京ICP备09053078号</a>,
    HOMEPAGE_URL: "https://www.paratera.com/",
    TELEPHONE: '010-82780567',
    COMPANY_EMAIL: 'sales@paratera.com',
    ADDRESS: '北京市海淀区西北旺东路10号院21号楼三盛大厦3层',
    ZHINI_CHANNEL_ID: "66542e26d77eca12bdb6aa6a",
    WX_APP_ID: PARA_APP_ID,
    WX_APP_NAME: '云平台服务',
    SOURCE_NAME: 'paratera', // 用于匹配跳转链接的域名等场景
    SOURCE_TYPE: 'para', // 用于支付等场景传值sourceType
    MENU_HANDLER: {
      hideCharge: false
    },
    COMPANY_SHORT_NAME: '并行科技',
    FAVICON: paraFaviconUrl
  },
  blsc: {
    LOGO: blscLogoUrl,
    RESET_PWD_URL: "https://cloud.blsc.cn/reg/#/reset_pwd/user",
    SIGNUP_URL: "https://cloud.blsc.cn/reg/#/regist/user",
    TITLE: "AI 智算云",
    COPY_RIGHT:  "北京北龙超级云计算有限公司",
    COPY_RIGHT_TIME: "© 2013 - " + new Date().getFullYear(),
    ICP: <a href="https://beian.miit.gov.cn/" target='_blank'>京ICP备12004296号</a>,
    HOMEPAGE_URL: "http://www.blsc.cn",
    TELEPHONE: '400-660-2011',
    ADDRESS: '北京市海淀区西北旺东路10号院21号楼三盛大厦3层',
    COMPANY_EMAIL: 'sales@blsc.cn',
    ZHINI_CHANNEL_ID: "65fd2c3c3dbf992eedf9c695",
    WX_APP_ID: BLSC_APP_ID,
    WX_APP_NAME: '北龙AI智算云服务',
    SOURCE_NAME: 'blsc', // 用于匹配跳转链接的域名等场景
    SOURCE_TYPE: 'blsc', // 用于支付等场景传值sourceType
    MENU_HANDLER: {
      hideCharge: false
    },
    COMPANY_SHORT_NAME: '北京超级云计算中心',
    FAVICON: blscFaviconUrl
  }
}

const exportConfig = {
  ...configs[distMode]
}

export default exportConfig